import { h } from "vue";

import { HomeOutlined, } from "@ant-design/icons-vue";
import deepCopy from "@/utils/deepCopy";

import company from "./modules/company";
import goods from "./modules/goods";
import project from "./modules/project";
import order from "./modules/order";
import category from "./modules/category";

const allMenuData = [
    // {
    //   key: Math.random() + "",
    //   label: "首页",
    //   title: "首页",
    //   url: "/home/home",
    //   code: "productionHome",
    //   icon: () => h(HomeOutlined),
    // },

    company,
    category,
    goods,
    project,
    order,
    
];


export const useMenuData = () => {
  let m = deepCopy(allMenuData)
  console.log(m)
  return m
};
